﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="kartrisCurrenciesData" targetNamespace="http://tempuri.org/kartrisCurrenciesData.xsd" xmlns:mstns="http://tempuri.org/kartrisCurrenciesData.xsd" xmlns="http://tempuri.org/kartrisCurrenciesData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="KartrisSQLConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="KartrisSQLConnection (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.KartrisSQLConnection.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="kartrisSQLConnection" IsAppSettingsProperty="true" Modifier="Assembly" Name="kartrisSQLConnection (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Kartris.My.MySettings.GlobalReference.Default.kartrisSQLConnection" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CurrenciesTblAdptr" GeneratorDataComponentClassName="CurrenciesTblAdptr" Name="Currencies" UserDataComponentName="CurrenciesTblAdptr">
            <MainSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="KartrisSQL_GPL.dbo.[_spKartrisCurrencies_Get]" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="false" GeneratorGetMethodName="_GetData" GetMethodModifier="Public" GetMethodName="_GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="_GetData" UserSourceName="_GetData">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisCurrencies_Get]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CUR_ID" DataSetColumn="CUR_ID" />
              <Mapping SourceColumn="CUR_Symbol" DataSetColumn="CUR_Symbol" />
              <Mapping SourceColumn="CUR_ISOCode" DataSetColumn="CUR_ISOCode" />
              <Mapping SourceColumn="CUR_ISOCodeNumeric" DataSetColumn="CUR_ISOCodeNumeric" />
              <Mapping SourceColumn="CUR_ExchangeRate" DataSetColumn="CUR_ExchangeRate" />
              <Mapping SourceColumn="CUR_HasDecimals" DataSetColumn="CUR_HasDecimals" />
              <Mapping SourceColumn="CUR_Live" DataSetColumn="CUR_Live" />
              <Mapping SourceColumn="CUR_Format" DataSetColumn="CUR_Format" />
              <Mapping SourceColumn="CUR_IsoFormat" DataSetColumn="CUR_IsoFormat" />
              <Mapping SourceColumn="CUR_DecimalPoint" DataSetColumn="CUR_DecimalPoint" />
              <Mapping SourceColumn="CUR_RoundNumbers" DataSetColumn="CUR_RoundNumbers" />
              <Mapping SourceColumn="CUR_OrderNo" DataSetColumn="CUR_OrderNo" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="kartrisCurrenciesData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msdata:EnforceConstraints="False" msprop:Generator_DataSetName="kartrisCurrenciesData" msprop:Generator_UserDSName="kartrisCurrenciesData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Currencies" msprop:Generator_UserTableName="Currencies" msprop:Generator_RowEvArgName="CurrenciesRowChangeEvent" msprop:Generator_TableVarName="tableCurrencies" msprop:Generator_TablePropName="Currencies" msprop:Generator_RowDeletingName="CurrenciesRowDeleting" msprop:Generator_RowChangingName="CurrenciesRowChanging" msprop:Generator_RowDeletedName="CurrenciesRowDeleted" msprop:Generator_RowEvHandlerName="CurrenciesRowChangeEventHandler" msprop:Generator_TableClassName="CurrenciesDataTable" msprop:Generator_RowChangedName="CurrenciesRowChanged" msprop:Generator_RowClassName="CurrenciesRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CUR_ID" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCUR_ID" msprop:Generator_ColumnPropNameInRow="CUR_ID" msprop:Generator_ColumnPropNameInTable="CUR_IDColumn" msprop:Generator_UserColumnName="CUR_ID" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="CUR_Symbol" msprop:Generator_ColumnVarNameInTable="columnCUR_Symbol" msprop:Generator_ColumnPropNameInRow="CUR_Symbol" msprop:Generator_ColumnPropNameInTable="CUR_SymbolColumn" msprop:Generator_UserColumnName="CUR_Symbol" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CUR_ISOCode" msprop:Generator_ColumnVarNameInTable="columnCUR_ISOCode" msprop:Generator_ColumnPropNameInRow="CUR_ISOCode" msprop:Generator_ColumnPropNameInTable="CUR_ISOCodeColumn" msprop:Generator_UserColumnName="CUR_ISOCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CUR_ISOCodeNumeric" msprop:Generator_ColumnVarNameInTable="columnCUR_ISOCodeNumeric" msprop:Generator_ColumnPropNameInRow="CUR_ISOCodeNumeric" msprop:Generator_ColumnPropNameInTable="CUR_ISOCodeNumericColumn" msprop:Generator_UserColumnName="CUR_ISOCodeNumeric" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CUR_ExchangeRate" msprop:Generator_ColumnVarNameInTable="columnCUR_ExchangeRate" msprop:Generator_ColumnPropNameInRow="CUR_ExchangeRate" msprop:Generator_ColumnPropNameInTable="CUR_ExchangeRateColumn" msprop:Generator_UserColumnName="CUR_ExchangeRate" type="xs:decimal" minOccurs="0" />
              <xs:element name="CUR_HasDecimals" msprop:Generator_ColumnVarNameInTable="columnCUR_HasDecimals" msprop:Generator_ColumnPropNameInRow="CUR_HasDecimals" msprop:Generator_ColumnPropNameInTable="CUR_HasDecimalsColumn" msprop:Generator_UserColumnName="CUR_HasDecimals" type="xs:boolean" minOccurs="0" />
              <xs:element name="CUR_Live" msprop:Generator_ColumnVarNameInTable="columnCUR_Live" msprop:Generator_ColumnPropNameInRow="CUR_Live" msprop:Generator_ColumnPropNameInTable="CUR_LiveColumn" msprop:Generator_UserColumnName="CUR_Live" type="xs:boolean" minOccurs="0" />
              <xs:element name="CUR_Format" msprop:Generator_ColumnVarNameInTable="columnCUR_Format" msprop:Generator_ColumnPropNameInRow="CUR_Format" msprop:Generator_ColumnPropNameInTable="CUR_FormatColumn" msprop:Generator_UserColumnName="CUR_Format" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CUR_IsoFormat" msprop:Generator_ColumnVarNameInTable="columnCUR_IsoFormat" msprop:Generator_ColumnPropNameInRow="CUR_IsoFormat" msprop:Generator_ColumnPropNameInTable="CUR_IsoFormatColumn" msprop:Generator_UserColumnName="CUR_IsoFormat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CUR_DecimalPoint" msprop:Generator_ColumnVarNameInTable="columnCUR_DecimalPoint" msprop:Generator_ColumnPropNameInRow="CUR_DecimalPoint" msprop:Generator_ColumnPropNameInTable="CUR_DecimalPointColumn" msprop:Generator_UserColumnName="CUR_DecimalPoint" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CUR_RoundNumbers" msprop:Generator_ColumnVarNameInTable="columnCUR_RoundNumbers" msprop:Generator_ColumnPropNameInRow="CUR_RoundNumbers" msprop:Generator_ColumnPropNameInTable="CUR_RoundNumbersColumn" msprop:Generator_UserColumnName="CUR_RoundNumbers" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="CUR_OrderNo" msprop:Generator_ColumnVarNameInTable="columnCUR_OrderNo" msprop:Generator_ColumnPropNameInRow="CUR_OrderNo" msprop:Generator_ColumnPropNameInTable="CUR_OrderNoColumn" msprop:Generator_UserColumnName="CUR_OrderNo" type="xs:unsignedByte" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>